package com.papper.common.service;

public class DwzPage {
	int  pageNum;
	int  numPerPage;
	long totalPage;
	long totalCount;

	public DwzPage(int pageNum, int numPerPage, long totalCount) {
		this.pageNum = pageNum;
		this.numPerPage = numPerPage;
		this.totalCount = totalCount;
		this.totalPage = (totalCount + numPerPage - 1) / numPerPage;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getNumPerPage() {
		return numPerPage;
	}

	public void setNumPerPage(int numPerPage) {
		this.numPerPage = numPerPage;
	}

	public long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

	public long getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(long totalPage) {
		this.totalPage = totalPage;
	}
}